package cn.iocoder.yudao.module.pm.controller.admin.retentionledger.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 留样台账管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RetentionLedgerRespVO {

    @Schema(description = "唯一标识符", requiredMode = Schema.RequiredMode.REQUIRED, example = "7692")
    @ExcelProperty("唯一标识符")
    private Long id;

    @Schema(description = "留样台账编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("留样台账编号")
    private String ledgerCode;

    @Schema(description = "关联航班号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("关联航班号")
    private String flightNo;

    @Schema(description = "留样开始时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("留样开始时间")
    private LocalDate startDate;

    @Schema(description = "留样结束时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("留样结束时间")
    private LocalDate endDate;

    @Schema(description = "留样类型", example = "1")
    @ExcelProperty("留样类型")
    private String sampleType;

    @Schema(description = "存储位置")
    @ExcelProperty("存储位置")
    private String storageLocation;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remarks;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}